﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace ADB_QuanLyThuVien
{
    public class PhieuTra
    {
        string _idForm;
        [DisplayName("Mã phiếu")]
        public string IdForm
        {
            get { return _idForm; }
            set { _idForm = value; }
        }
        
        PhieuMuon _pm;

        public PhieuMuon pm
        {
            get { return _pm; }
            set { _pm = value; }
        }
        Member _employee;

        public Member Employee
        {
            get { return _employee; }
            set { _employee = value; }
        }

        DateTime _dateCreateForm;
        [DisplayName("Ngày lập phiếu")]
        public DateTime DateCreateForm
        {
            get { return _dateCreateForm; }
            set
            {
                _dateCreateForm = value;

            }
        }

        List<Book> lBook;
        public List<Book> LBook
        {
            get { return lBook; }
            set { lBook = value; }
        }

        //Quá tải hàm
        public override string ToString()
        {
            return IdForm;
        }
    }
}
